package com.hzau.tourist_service_sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.util.FileCopyUtils;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.time.LocalDate;
import java.util.ArrayList;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Complaint {

    @TableId(type = IdType.AUTO)
    private Long cpId;
    
    private String userName;
    
    private String cpMsg;
    
    private String cpSrc;
    
    private LocalDate cpSt;
    
    private LocalDate cpEt;
    @TableField(value = "end_Msg")
    private String solveMsg;
    
    private String solveSrc;

    
    private LocalDate solveTime;
    
//    private String endMsg;
    
    private Integer solveStatus;
    
    private Float starRating;
    private Integer adminId;
    @TableField(exist = false)
    private Integer pagenum;
    @TableField(exist = false)
    private ArrayList<String> files=new ArrayList<>();

}

